#ifndef EDITOR_H
#define EDITOR_H

#include <QTextEdit>

namespace Lightning {

class Editor : public QTextEdit
{
    Q_OBJECT
public:
    explicit Editor(QWidget *parent = 0);

    bool Modified()
    {
        return modified;
    }
    void SetModified(bool status)
    {
        modified = status;
    }
    QString GetFilePath()
    {
        return file_path;
    }
    void SetFilePath(QString newfilepath)
    {
        file_path = newfilepath;
    }
    int GetUniqueID()
    {
        return unique_id;
    }

private:
    int unique_id;
    QString file_path;
    QString file_name;
    bool modified;
    
signals:
    
public slots:
    
};

} // namespace Lightning

#endif // EDITOR_H
